package com.example.b_308.software.view.main.register;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.b_308.software.R;
import com.example.b_308.software.controller.user.UserController;
import com.example.b_308.software.view.BaseFragment;
import com.example.b_308.software.view.user.ForgetpwActivity;

/**
 * Created by B-308 on 2017/11/29.
 */
public class VerifyFragment extends BaseFragment implements View.OnClickListener{
      Button click_get,but_next;
      TextView tv_phone,tv_code;
      EditText et_getphone,et_getcode;
      
    

    public View initView(LayoutInflater inflater) {
        return null;
    }

    @Override
    public View setContentView(LayoutInflater inflater) {
        return inflater.inflate(R.layout.activity_forget,null,false);
    }

    @Override
    public void initData() {
       
    }

    @Override
    public void initView() {
        tv_phone.findViewById(R.id.tv_phone);
        et_getphone.findViewById(R.id.et_getphone);
        tv_code.findViewById(R.id.tv_code);
        et_getcode.findViewById(R.id.et_getcode);
    
    }

    @Override
    public void initListener() {
        click_get.setOnClickListener(this);
        but_next.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch ( v.getId()){
            case R.id.but_next:
            tent2(VerifyNewFragment.class);
                break;
            case R.id.click_get:
                break;
        }
        
    }

    private void tent2(Class<VerifyNewFragment> verifyNewFragmentClass) {

    }


}
